package com.wwj.core.system.service;


import com.wwj.core.system.entity.Menu;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by xya on 16-10-24.
 */
public interface IMenuService {

    Set<String> getPermissionsAsString(String userId) throws Exception;

    List<Map<String,Object>> findMenuByUser(String id) throws Exception;

    List<Menu> findAllMenu() throws Exception;
}
